package com.yuju.constant;

/**
 * 
 * 类名：Constant  <br />
 *
 * 功能：常量
 *
 * @author : xuehj <br />
 * @Date : 2018年1月31日 下午3:58:07  <br />
 * @version : 1.1 <br />
 */
public class Constant {
	// 用户私钥，用来AES加密
	public static final String SYS_PARA_USER_IDENTITY_PRIVATE_KEY = "user_identity_private_key";
	// 订单失效分钟数
	public static final String FAILURE_MINUTES_ORDER = "failureMinutesOrder";
	// PMS系统访问接口
	public static final String URL_PMS_SERVER = "pmsServerUrl";
	// IMS系统访问接口
	public static final String URL_IMS_BACK_SERVER = "imsBackServerUrl";
	// GUEST微信预定访问接口
	public static final String URL_GUEST_SERVER = "guestServerUrl";
	// FILE系统访问接口
	public static final String URL_FILE_SERVER = "fileServerUrl";
	// IMG系统访问接口
	public static final String URL_IMG_SERVER = "imgServerUrl";
	// PAY系统访问接口
	public static final String URL_PAY_SERVER = "payServerUrl";
	// 账户禁止使用
	public static final Byte USER_STATUS_DISABLED = 2;
	// 账户允许使用
	public static final Byte USER_STATUS_ENABLED = 1;

	// 微信相关
	public static final String APP_ID = "AppID";
	// 微信App密钥
	public static final String APP_SECRET = "AppSecret";
	// 微信商户ID
	public static final String MCH_ID = "mchId";
	// 微信商户密钥
	public static final String MCH_KEY = "mchKey";
	// 微信回调接口
	public static final String WX_NOTIFY_URL = "notifyUrl";
	// 酒店对应商户ID
	public static final String HOTEL_MCH_ID = "hotelMchId";
	// 酒店对应商户密钥
	public static final String HOTEL_MCH_KEY = "hotelMchKey";
	// 是否开启微信支付
	public static final String IS_ENABLE_WECHAT_PAY = "isEnableWechatPay";
	
	/**
	 *  支付宝相关
	 */
	// 支付宝网关名
	public static final String OPEN_API_DOMAIN = "alipayOpenApiDomain";
	// 支付保障接口
	public static final String MCLOUD_API_DOMAIN = "alipayMcloudApiDomain";
	// 商户ID
	public static final String PARTNER_ID = "alipayPid";
	// 商户应用ID
	public static final String ALIPAY_APPID = "alipayAppid";
	// 通用商户私钥
	public static final String UNIVERSAL_PRIVATE_KEY = "universalPrivateKey";
	// 通用商户公钥
	public static final String UNIVERSAL_PUBLIC_KEY = "universalPublicKey";
	// 支付宝公钥
	public static final String ALIPAY_PUBLIC_KEY = "alipayPublicKey";
	// 签名类型
	public static final String SIGN_TYPE = "alipaySignType";
	// 当面付最大查询次数和查询间隔（毫秒）
	public static final String MAX_QUERY_RETRY = "alipayMaxQueryRetry";
	public static final String QUERY_DURATION = "alipayQueryDuration";
	// 当面付最大撤销次数和撤销间隔（毫秒）
	public static final String MAX_CANCEL_RETRY = "alipayMaxCancelRetry";
	public static final String CANCEL_DURATION = "alipayCancelDuration";
	// 交易保障线程第一次调度延迟和调度间隔（秒）
	public static final String HEARTBEAT_DELAY = "alipayHeartbeatDelay";
	public static final String HEARTBEAT_DURATION = "alipayHeartbeatDuration";
	// 支付宝回调接口
	public static final String ALIPAY_NOTIFY_URL = "alipayNotifyUrl";
	
	// 酒店对应支付宝商户PID
	public static final String HOTEL_ALIPAY_PID = "hotelAlipayPid";
	// 酒店对应商户授权Token
	public static final String ALIPAY_APP_AUTH_TOKEN = "alipayAppAuthToken";
	// 酒店对应商户授权AppRefreshToken
	public static final String ALIPAY_APP_REFRESH_TOKEN = "alipayAppRefreshToken";
	// 是否开启支付宝支付
	public static final String IS_ENABLE_ALIPAY = "isEnableAlipay";
}
